import { MockMethod } from 'vite-plugin-mock';
import Mock from 'mockjs';

export default [
  {
    url: '/mock/api/identify/demo',
    method: 'post',
    response: (options) => {
      return {
        code: 0,
        data: '',
        message: 'ok'
      }
    }
  },
  {
    url: '/mock/api/identify/test',
    method: 'get',
    response: () => ({ code: 0, data: 'test', message: 'ok' })
  }
] as MockMethod[];